import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import './assets/main.css'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/js/bootstrap.bundle.min.js'

// import { Edit, Share } from '@element-plus/icons-vue'
const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
// app.component(Edit.name, Edit)
// app.component(Share.name, Share)

app.use(ElementPlus).mount('#app')
// app.use(ElementPlus)

// app.mount('#app')
// App.component(Edit.name, Edit)
// App.component(Share.name, Share)
// createApp(App).use(ElementPlus).mount('#app')
